package ImsNRMSystem;


/**
 * Generated from IDL struct "SignallingInfoOfAdjMssType".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public final class SignallingInfoOfAdjMssTypeHelper
{
	private static org.omg.CORBA.TypeCode _type = null;
	public static org.omg.CORBA.TypeCode type ()
	{
		if (_type == null)
		{
			_type = org.omg.CORBA.ORB.init().create_struct_tc(ImsNRMSystem.SignallingInfoOfAdjMssTypeHelper.id(),"SignallingInfoOfAdjMssType",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("signallingPointLength", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(5)), null),new org.omg.CORBA.StructMember("signallingPointCode", org.omg.CORBA.ORB.init().create_string_tc(0), null),new org.omg.CORBA.StructMember("routeInfo", ImsNRMSystem.NetworkIndicatorTypeHelper.type(), null)});
		}
		return _type;
	}

	public static void insert (final org.omg.CORBA.Any any, final ImsNRMSystem.SignallingInfoOfAdjMssType s)
	{
		any.type(type());
		write( any.create_output_stream(),s);
	}

	public static ImsNRMSystem.SignallingInfoOfAdjMssType extract (final org.omg.CORBA.Any any)
	{
		return read(any.create_input_stream());
	}

	public static String id()
	{
		return "IDL:ImsNRMSystem/SignallingInfoOfAdjMssType:1.0";
	}
	public static ImsNRMSystem.SignallingInfoOfAdjMssType read (final org.omg.CORBA.portable.InputStream in)
	{
		ImsNRMSystem.SignallingInfoOfAdjMssType result = new ImsNRMSystem.SignallingInfoOfAdjMssType();
		result.signallingPointLength=in.read_ulong();
		result.signallingPointCode=in.read_string();
		result.routeInfo=ImsNRMSystem.NetworkIndicatorTypeHelper.read(in);
		return result;
	}
	public static void write (final org.omg.CORBA.portable.OutputStream out, final ImsNRMSystem.SignallingInfoOfAdjMssType s)
	{
		out.write_ulong(s.signallingPointLength);
		out.write_string(s.signallingPointCode);
		ImsNRMSystem.NetworkIndicatorTypeHelper.write(out,s.routeInfo);
	}
}
